<template>
    <div ref="myChart"/>
</template>

<script>
import {ref} from 'vue'
import useMyChartOperate from "@/composables/useMyChartOperate";
import useQueryNsGoodsData from "@/composables/useQueryNsGoodsData";

export default {
    name: "BarLineChartGoodsSimple",
    props: {
        filterOption: {type: Object}
    },

    setup(props) {
        const myChart = ref(null);
        const {dbData} = useQueryNsGoodsData(props.filterOption);
        useMyChartOperate(myChart, dbData, props.filterOption)

        return {
            myChart,
        }
    },
}
</script>

<style scoped>

</style>